package com.apexedu.portal.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by janabo on 2014-11-1.
 */
@Entity
@Table(name = "T_SYS_ROLE_WORKFLOW")
public class TSysRoleWorkflow implements Serializable{
    private String wid;
    private String roleid;
    private String workflowid;

    @Id
    @Column(name = "WID")
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Basic
    @Column(name = "ROLEID")
    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    @Basic
    @Column(name = "WORKFLOWID")
    public String getWorkflowid() {
        return workflowid;
    }

    public void setWorkflowid(String workflowid) {
        this.workflowid = workflowid;
    }

    @Override
    public String toString() {
        return "TSysRoleWorkflow{" +
                "wid='" + wid + '\'' +
                ", roleid='" + roleid + '\'' +
                ", workflowid='" + workflowid + '\'' +
                '}';
    }
}
